package com.jqq.try_;

/**
 * @author 姬倩倩
 * @version 1.0
 */
public class TryCatchDetail {
    public static void main(String[] args) {
        //ctrl alt t
        try {
            String str = "123``";
            int n = Integer.parseInt(str);
            System.out.println("数字：" + n);
        } catch (NumberFormatException e) {
            e.printStackTrace();
        }finally {
            System.out.println("finally代码块执行");
        }
    }
}
